package club.pchome.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/** 生物流水**/
@Table(name="t_sw")
public class TSw{
	/****/
	@Id
	private Long id;

	/****/
	@Column
	private Long userId;

	/**操作生物类型**/
	@Column
	private Integer openSw;

	/**买入的生物**/
	@Column
	private Integer inSw;

	/**卖出的生物**/
	@Column
	private Integer outSw;

	/**创建时间**/
	@Column
	private Date createTime;

	public void setId(Long id) {
		this.id=id;
	}

	public Long getId() {
		return this.id;
	}

	public void setUserId(Long userId) {
		this.userId=userId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setOpenSw(Integer openSw) {
		this.openSw=openSw;
	}

	public Integer getOpenSw() {
		return this.openSw;
	}

	public void setInSw(Integer inSw) {
		this.inSw=inSw;
	}

	public Integer getInSw() {
		return this.inSw;
	}

	public void setOutSw(Integer outSw) {
		this.outSw=outSw;
	}

	public Integer getOutSw() {
		return this.outSw;
	}

	public void setCreateTime(Date createTime) {
		this.createTime=createTime;
	}

	public Date getCreateTime() {
		return this.createTime;
	}

}